[HVM][SVM] Do not delay ExtInt event injection if RFLAGS.IF==0.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 30 Sep 2006 09:49:08 +0000 (10:49 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 30 Sep 2006 09:49:08 +0000 (10:49 +0100)
commit57b01d8d98894e96eba854f84bfce94d7f75aaae
treef76e23c7f876c486018b117eb1a3c88b15c9fdec
parentdc396a7fd6601263393e7ec786b8f83e9a2f2c23
[HVM][SVM] Do not delay ExtInt event injection if RFLAGS.IF==0.

AMD-V does not require the delaying of interrupt injection if the guest
IF_FLAG disallows interrupts.  Remove the code in svm_intr_assist()
that was checking the guest IF in eflags.

This patch fixes the problem with HVM Windows guests, with observing a
very slow timer countdown on the initial boot menu, when there is more
than one boot option.  Kbd response in this same Windows boot menu is
also acceptably responsive with this patch.

Signed-off-by: Tom Woller <thomas.woller@amd.com>=20
xen/arch/x86/hvm/svm/intr.c